<template>
  <div class="header_shrink" @click="toggleClick">
    <svg-icon class-name="search-icon" icon-class="shrink" />
  </div>
</template>

<script>
export default {
  name: 'Hamburger',
  props: {
    isActive: {
      type: Boolean,
      default: false
    }
  },
  methods: {
    toggleClick() {
      this.$emit('toggleClick');
    }
  }
};
</script>

<style scoped lang="scss">
.header_shrink {
  padding: 0 20px;
  display: flex;
  align-items: center;
  &::after {
    content: '';
    display: inline-block;
    width: 1px;
    height: 36px;
    background-color: #efeff1;
    margin: 0 6px 0 18px;
  }
  .search-icon {
    font-size: 22px;
    width: 55px;
    height: 30px;
  }
}
</style>
